package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;
import com.itheima.reggie.utils.Result;

import java.util.List;

public interface SetmealService {

    Result<String> addSetmeal(SetmealDto setmealDto);

    Result<Page<SetmealDto>> getPage(String setmealName, int currentPage, int pageSize);

    Result<String> deleteSetmeals(List<Long> ids);

    Result<List<Setmeal>> getSetmealList(Setmeal setmeal);

    Result<String> updateSetmealStatus(List<Long> ids, int toStatus);

    Result<SetmealDto> getSetmealDtoWithId(Long id);

    Result<String> updateSetmeal(SetmealDto setmealDto);
}
